package com.mentaleye.dal.dao;

import java.util.List;
import java.util.Map;

import com.mentaleye.dal.model.TimeTable;
import com.mentaleye.dal.model.TimeTableExample;

public interface TimeTableDao {

	public boolean insert(TimeTable record);
	
	public boolean insertList(List<TimeTable> list);
	
	public boolean delete(Integer id);

	public boolean deleteByList(List<Integer> oaclassIds);
	
	public boolean deleteByExample(TimeTableExample example);
	
	public boolean update(TimeTable record);

	public boolean updateTeacherByMap(Map<String,Object> map);
	
	public boolean updateByList(List<TimeTable> list);
	
	public boolean updateByExample(TimeTable record,TimeTableExample example);
	
	public TimeTable selectByKey(Integer id);
	
	public List<TimeTable> selectByClassId(int oaClassId);
	
	public List<TimeTable> selectByExample(TimeTableExample example);
	
	public List<TimeTable> selectByBeginTime(Map<String, Object> map);
}
